package cn.gqr.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document("t_text")
public class Content {
    @Id
    private String id;
    private String documents;

    public Content() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDocuments() {
        return documents;
    }

    public void setDocuments(String documents) {
        this.documents = documents;
    }

    @Override
    public String toString() {
        return "Content{" +
                "id='" + id + '\'' +
                ", documents='" + documents + '\'' +
                '}';
    }
}
